package com.syh.jn.scm.service.impl.upstream.base;

import com.alibaba.dubbo.config.annotation.Service;
import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.core.ddd.service.AbstractServiceImpl;
import com.syh.jn.scm.domain.upstream.entity.base.UpGoods;
import com.syh.jn.scm.domain.upstream.repository.base.UpGoodsRepository;
import com.syh.jn.scm.dto.upstream.base.UpGoodsVo;
import com.syh.jn.scm.service.api.upstream.base.UpGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * 商品管理
 */
@Service
@Transactional
public class UpGoodsServiceImpl extends AbstractServiceImpl<Object, Object, UpGoodsVo, UpGoods, Long> implements UpGoodsService {
  @Autowired
  private UpGoodsRepository upGoodsRepository;

  @Override
  protected AggregateRepository getAggregateRepository() {
    return upGoodsRepository;
  }

  @Override
  public Long save(Object o) {
    return null;
  }

  @Override
  public void update(Object o) {

  }

  @Override
  public void delete(Long id) {

  }
}
